from pandac.PandaModules import loadPrcFileData

resolutions = ['800 600', '1024 768', '1152 864', '1280 960', '1440 900', '1680 1050']

loadPrcFileData("", "win-size "+resolutions[1])

loadPrcFileData("", "fullscreen #f")

loadPrcFileData("", "multisamples 2")
    

loadPrcFileData("", "show-frame-rate-meter  #t")

import Environment
import FreeCamera

import direct.directbase.DirectStart

Environment.Environment()
FreeCamera.FreeCamera()

i = loader.loadModel("island")
i.reparentTo(render)

run()